package com.eight.lesson2;

import java.io.Serializable;

public class Apple implements Serializable {
	
	private static final long serialVersionUID = 1634035202529629485L;
	
	private Integer weight;
	private String color;
	
	public Apple(Integer weight, String color) {
		this.weight = weight;
		this.color = color;
	}
	
	public Integer getWeight() {
		return weight;
	}
	public void setWeight(Integer weight) {
		this.weight = weight;
	}
	public String getColor() {
		return color;
	}
	public void setColor(String color) {
		this.color = color;
	}
	
}
